package com.mbyte.easy.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mbyte.easy.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lp
 * @since 2019-12-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_audio")
public class Audio extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 稿件id
     */
    private Long draftId;

    /**
     * 稿件标题
     */
    @TableField(exist = false)
    private String draftTitle;

    /**
     * 音频地址
     */
    private String audioUrl;

    /**
     * 提交时间
     */
    private LocalDateTime submitTime;

    /**
     * 音频制作人
     */
    private String audioPerson;

    /**
     * 音频时长
     */
    private Long audioLength;

    /**
     * 状态code
     */
    private Integer statusCode;

    /**
     * 是否删除(0是1否)
     */
    private Boolean isDelete;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 最后操作人
     */
    private Long lastOperator;

    /**
     * 组号
     */
    private String groupId;

    /**
     * 组名
     */
    @TableField(exist = false)
    private String groupName;

    /**
     * 稿件文件名
     */
    @TableField(exist = false)
    private String fileName;

    @TableField(exist = false)
    private String allotNoName;


}
